package com.yunxin.admin.system.application.command;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author zero°
 * @since 2023-05-22
 */
@Schema(description = "更新字典对象")
@Data
public class UpdateDictCommand {

    @Schema(description="字典ID")
    @NotNull(message = "用户ID不能为空")
    private Long id;

    @Schema(description="类型编码")
    private String typeCode;

    @Schema(description="字典名称")
    private String name;

    @Schema(description="字典值")
    private String value;

    @Schema(description="状态(1:启用;0:禁用)")
    private Integer status;

    @Schema(description="排序")
    private Integer sort;

    @Schema(description = "字典备注")
    private String remark;

}
